package com.sky.service;

import com.sky.dto.SetmealDTO;
import com.sky.dto.SetmealPageQueryDTO;
import com.sky.entity.Setmeal;
import com.sky.result.PageResult;
import com.sky.vo.DishItemVO;
import com.sky.vo.SetmealVO;

import java.util.List;

/**
 * ClassName: SetmealService
 * Package: com.sky.service
 * Description:
 *
 * @Author: Zhang Peiyuan
 * @Create: 2024-12-19-14:43
 * @Version: v1.0
 */
public interface SetmealService {

    void saveSetmeal(SetmealDTO setmealDTO);

    PageResult querySetmealPage(SetmealPageQueryDTO setmealPageQueryDTO);

    void deleteBatch(List<Long> ids);

    SetmealVO querySetmeal(Long id);

    void updateSetmeal(SetmealDTO setmealDTO);

    void updateSetmealStatus(Integer status, Long id);

    // 根据分类信息, 查询套餐列表
    List<Setmeal> querySetmealList(Long categoryId);

    List<DishItemVO> querySetmealOfDish(Long id);
}
